home *** CD-ROM | disk | FTP | other *** search
- Subject: FW_CODPart::ReleaseAll not called
- Sent: 8/22/96 8:45 PM
- Received: 8/23/96 9:15 AM
- From: Hutchings, Richard B. "Brad", brad@hutchings-software.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Here's the problem.
-
- OD 1.1f13. ODF 1. I've tweaked FW_CODPart::CloneInto and
- FW_CODPart::ClonePartInfo to support promises when Rapid-I Button is
- embedded and it's a single frame being dragged or copied or cut. Due
- primarily to the incredible speed of AppleScript :-), it takes about 1.8
- seconds to externalize a Rapid-I Button, so I want to avoid actually doing
- it unless absolutely necessary.
-
- Using ODF Container, I embed a Rapid-I Button. Then, I copy select the
- button and copy it. With my modifications, this causes the
- FW_CDataInterchange object to record a clipboard promise. Next, I delete
- the button with the "delete" key. Since delete is undoable, I'm not
- expecting FW_CODPart::ReleaseAll to be called yet for the button. Then I
- save the document. Now, I expect ReleaseAll to be called, but it is not.
- Finally, I try to paste, and crash because my promise is no good and was
- not fulfilled before the original part was clobbered.
-
- Is this an ODF problem or an OpenDoc 1.1f13 problem or an ODF Container
- problem?
-
- Brad
-
- <mailto: "Brad Hutchings" brad@hutchings-software.com>
- <http://www.hutchings-software.com>
-
- Got OpenDoc? Got Cyberdog? Then beta-test Rapid-I Button! Email me for more
- information...
-
-
-